<!DOCTYPE html>
<html>
<head>
  	  	<meta name="package-mapping" content="u:org.opencms.ui" />
  	  	<meta name="package-mapping" content="o:org.opencms.ui.components" />
  </head>
  <body>
  		<o-cms-basic-dialog>
  			<content>
  				<vaadin7-vertical-layout spacing>
	  				<v-panel caption="%(key.GUI_AVAILABILITY_0)">
			  			<v-form-layout margin>
			  				<vaadin7-horizontal-layout caption="%(key.GUI_INPUT_DATERELEASED_0)" spacing>
			 					<o-cms-date-field _id="m_releasedField" />
			  					<vaadin7-check-box caption="%(key.GUI_DIALOG_BUTTON_RESET_0)" _id="m_resetReleased" :middle />
			  				</vaadin7-horizontal-layout> 
			  				<vaadin7-horizontal-layout caption="%(key.GUI_INPUT_DATEEXPIRED_0)" spacing>
			  					<o-cms-date-field _id="m_expiredField" />
			  					<vaadin7-check-box caption="%(key.GUI_DIALOG_BUTTON_RESET_0)" _id="m_resetExpired" :middle />
			  				</vaadin7-horizontal-layout>
			  				<vaadin7-check-box _id="m_subresourceModificationField" caption="%(key.GUI_TOUCH_MODIFY_SUBRESOURCES_0)" />
			  			</v-form-layout>
		  			</v-panel>
		  			<v-panel caption="%(key.GUI_AVAILABILITY_RESPONSIBLES_0)" _id="m_responsiblesPanel" visible="false">
		  				<vaadin7-vertical-layout _id="m_responsiblesContainer" style-name="o-reduced-spacing o-reduced-margin" spacing margin/>
		  			</v-panel>
		  			<v-panel caption="%(key.GUI_NOTIFICATION_SETTINGS_0)" _id="m_notificationPanel" visible="false">
		  				<vaadin7-vertical-layout margin spacing>
			  				<v-form-layout>
			  					<vaadin7-text-field _id="m_notificationIntervalField" caption="%(key.GUI_NOTIFICATION_INTERVAL_0)"/>
			  					<vaadin7-check-box _id="m_modifySiblingsField"  :middle caption="%(key.GUI_AVAILABILITY_MODIFY_SIBLINGS_0)" />
			  					<vaadin7-check-box _id="m_notificationEnabledField" caption="%(key.GUI_AVAILABILITY_ENABLE_NOTIFICATION_0)" :middle />
			  				</v-form-layout>
	  					</vaadin7-vertical-layout>
		  			</v-panel>
	  			</vaadin7-vertical-layout>
  			</content>
  			<buttons>
  				<v-button _id="m_okButton" >%(key.GUI_DIALOG_BUTTON_OK_0)</v-button>
  				<v-button _id="m_cancelButton" >%(key.GUI_DIALOG_BUTTON_CANCEL_0)</v-button>
  			</buttons>
  		</o-cms-basic-dialog>
  </body>
</html>